package com.zzl.cwlyxt.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (Users)实体类
 *
 * @author makejava
 * @since 2024-03-05 17:17:48
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Users implements Serializable {
    private static final long serialVersionUID = 242724820593821677L;
    /**
     * 用户id
     */
    @TableId(type = IdType.AUTO)
    private Integer userid;
    /**
     * 账号
     */
    private String account;
    /**
     * 密码
     */
    private String password;
    /**
     * 真实姓名
     */
    private String realname;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 地址
     */
    private String address;
    /**
     * 简介
     */
    private String synopsis;
    /**
     * 1管理员2普通用户
     */
    private Integer role;


}

